-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update diagnostic messages and linter rules #5419
Conversation
Visit the preview URL for this PR (updated for commit a603de5): https://dart-dev--pr5419-misc-diagnostics-upd-c7kvhae3.web.app (expires Wed, 27 Dec 2023 17:41:22 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: d851bc446d3c4d7394c5406c6f07255afc7075f3 |
I think these are the diagnostics that are causing issues: dart-lang/sdk#54416 If that's correct, should we wait until that's sorted out to copy them here? |
One of the problems was that the error range wasn't highlighted. That's been fixed. The remaining problems are compilation errors in the code (things like declaring a non-nullable top-level variable without initializing it). I don't know how likely that is to create problems for users. I also don't know how long it will take to get them updated given the holiday season. |
Thanks for the context @bwilkerson I'm ok with landing this then, but I wonder @parlough would it be ok to just manually add the fixes from https://dart-review.googlesource.com/c/sdk/+/342941 ? It's basically just adding Idk if that messes up the process you use for diagnostics but I figured from an information standpoint it's probably safe? If not, again just land it, no problem imo. |
I was pleasantly surprised by how quickly the issue was fixed. The try bots that test the changes haven't completed, so I can't confirm that all of the issues are fixed by those changes, but I suspect they will be. Applying changes to the website that haven't yet landed in |
Simon has always been super helpful and on top of things =D |
These changes were previously reviewed on Gerrit before landing in the SDK.